package com.alfred.mall.miaosha.biz.dao;

import com.alfred.mall.miaosha.biz.dataobject.MiaoshaGoodsDO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface MiaoshaGoodsMapper extends BaseMapper<MiaoshaGoodsDO> {

    /**
     * 查询所有秒杀商品
     *
     * @return
     */
    List<MiaoshaGoodsDO> selectAllMiaoshaGoods();

    void updateGoodsStoreById(Integer goodsId);
}
